* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#shophome{
  padding: 20px;
}
.shophome-box{
  display: flex;
}
.df{
  display: flex;
  align-items: center;
}
.mt-10{
  margin-top: 10px;
}
.mtb-10{
  margin: 10px 0;
}
.mr-10{
  margin-right: 10px;
}
.modular{
  min-width: 220px;
  border: 1px solid #ccc;
}
.modular-contet{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px;
}
.modular-title{
  text-align: center;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}
.modular-contet .modular-son{
  width: 45%;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  background-color: #ccc;
  color: #fff;
}
.preview-box{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.preview-son{
  position: relative;
  width: 400px;
  height: 650px;
  border: 1px solid #ccc;
}
.preview-son-title{
  height: 40px;
  text-align: center;
  cursor: no-drop;
  background-color: #c5c5c5;
  line-height: 40px;
  border-bottom: 1px solid #666;
  color: #fff;
}
.preview-son-container{
  height: 530px;
  overflow-y: auto;
}
.preview-son-bottom{
  position: absolute;
  bottom: 0;
  width: 100%;
  border: none;
}
.preview-son-active{
  border: 2px solid red;
}
/* 轮播图样式 */
.public-box{
  position: relative;
  width: 100%;
  height: 100px;
  line-height: 100px;
  text-align: center;
  border-bottom: 1px solid #ccc;
  font-size: 24px;
}
.image-component{
  position: relative;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #ccc;
  font-size: 24px;
}
.grid-component{
  position: relative;
  width: 100%;
  height: 100px;
  line-height: 100px;
}
.operation-box{
  position: absolute;
  display: flex;
  line-height: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.3);
  font-size: 16px;
  padding: 10px;
}
.operation-box span{
  cursor: pointer;
  padding: 10px;
  margin-right: 15px;
  color: #fff;
  height: 40px;
}
.operation-box span:hover{
  color: #00cccc;
  border-bottom: 2px solid #00cccc;
}
.cut {
  width: 100%;
  height: 400px;
}

.test-button {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}
/* tab子元素 */
.son-head-btn-box{
  position: relative;
  margin-right: 18px;
}
.son-head-btn-box i{
  position: absolute;
  top: 0;
  right: -15px;
  color: red;
  cursor: pointer
}
/* 截图按钮操作 */
.tab-header{
  margin-top: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.son-head-btn-box{
  position: relative;
  margin-right: 15px;
  padding: 10px 15px;
}
.son-head-btn-box-avtire{
  border-bottom:2px solid #00CCCC;
}
.son-head-btn-box i{
  position: absolute;
  top: 0;
  right: -5px;
  color: red;
  cursor: pointer
}
.son-head-btn{
  /* line-height: 1; */
  border-bottom: 2px solid #fff;
  cursor: pointer;
  font-size: 14px;
}
.son-head-avtire{
  color: #00CCCC;
}
.tab-son{
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #ccc;
}
.son-content-box{
  margin-top: 10px;
}
.son-img-box{
  border: 1px solid #ccc;
  overflow: hidden;
  position: relative;
  width: 200px;
  height: 200px;
}
.son-img-box img{
  position: absolute;
}
.btn {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #c0ccda;
  color: #1f2d3d;
  text-align: center;
  outline: none;
  margin:10px 0;
  padding: 9px 15px;
  font-size: 14px;
  border-radius: 4px;
  color: #fff;
  background-color: #50bfff;
  border-color: #50bfff;
  transition: all .2s ease;
  text-decoration: none;
  user-select: none;
}

.des {
  line-height: 30px;
}

code.language-html {
  padding: 10px 20px;
  margin: 10px 0px;
  display: block;
  background-color: #333;
  color: #fff;
  overflow-x: auto;
  font-family: Consolas, Monaco, Droid, Sans, Mono, Source, Code, Pro, Menlo, Lucida, Sans, Type, Writer, Ubuntu, Mono;
  border-radius: 5px;
  white-space: pre;
}
.edit-component{
  min-width: 700px;
  max-width: 850px;
  border: 1px solid #ccc;
}
/* 截图遮罩层去掉 */
.cropper-modal{
  background: none !important;
}
@keyframes slide {
  0%  {
    background-position: 0 0;
  }
  100% {
    background-position: -100% 0;
  }
}